import { Component, OnInit } from '@angular/core';
import {listItem} from '../../model/news'

@Component({
  selector: 'app-news',
  templateUrl: './news.component.html',
  styleUrls: ['./news.component.scss']
})
export class NewsComponent implements OnInit {
  title:string = '我是一个新闻组件'

  newList:listItem[] = []

  constructor() { }

  ngOnInit(): void {
  }

}
